fn: >=
[contents]

Contents

Syntax

The syntax for >= calls is:

f++:  
>=(params)

n++:  
@>=(params)

Description

>= is the relational greater than or equals operator, it takes a non-zero number of input parameters, if all parameters are greater than or equal to the parameters following it returns 1, otherwise it returns 0.

Note: It is typically faster to use exprtk for relational operators, plus the syntax is nicer.

f++ example

Examples of >= being used with f++:

for(int i=10; >=(i, 0); i-=1)
	console("i: ", i)

int a=2, b=1, c=0
console(>=(a, b, c))
console(>=(c, a, b))

n++ example

Examples of >= being used with n++:

@for(int i=10; >=(i, 0); i-=1)
	@console("i: ", i)

@int a=2, b=1, c=0
@console(@>=(a, b, c))
@console(@>=(c, a, b))